#ifndef THREAD_H_
#define THREAD_H_

#include <pthread.h>

class Thread {
private:
	pthread_t thread;
	static void *starter(void *data);
protected:
	virtual void run() = 0;
public:
	void join();
	void start();

};

#endif /* THREAD_H_ */
